<template>
  <div>
    我是vuetrigger
    <a ref="myLink" href="www.baidu.com">1111</a>
    <button @click="shout">触发</button>
  </div>
</template>

<script>
export default {
  components: {
  },
  mounted () {
  },
  methods: {
    shout () {
      this.$refs.myLink.click()
    }
  }
}
</script>

<style>
</style>

